package com.tr.rts.cdf
import org.slf4j.{Logger, LoggerFactory}
import org.apache.spark.SparkContext
import org.scalatest.{BeforeAndAfter, FunSuite, Matchers}
import org.apache.spark.SparkConf

class RunCDFConsumer extends FunSuite with Matchers with BeforeAndAfter{
  def test(args: Array[String]): Unit = {
    val conf = new SparkConf().setAppName("scan testing")
    val sc = new SparkContext(conf)

    println("Hugo testing string")
    lazy val log = LoggerFactory.getLogger(this.getClass)
    log.info("Hugo testing log string")
    // just for compile
    ScanCDFView.scanCDFView("name", Map())

    sc.stop()
  }
}
